package framework.widgets;

import framework.StateInfo.MapStateInfo;
import pixi.core.textures.Texture;


class SkinItem extends LayerItem {

	// 状态信息
	private var _stateInfo:MapStateInfo;

    public function new(texture:Texture) {
		super(texture);
		_stateInfo = new MapStateInfo();
    }


	function createSkinItem(){

	}

	function setSkinItemState(state:String):Bool{
		var stateInfo = _stateInfo.get(state);
		if(stateInfo == null){
			return false;
		}

		return true;
	}
}
